<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">
<ui:composition>
	<ui:param name="idTag" value="#{id}" />
	<ui:param name="labelTag" value="#{label}" />
	<ui:param name="valueTag" value="#{value}" />
	<ui:param name="requiredTag" value="#{required}" />
	<ui:param name="renderedTag" value="#{empty rendered?true:rendered}" />
	<ui:param name="validatorMessageTag" value="#{empty validatorMessage?'':validatorMessage}" />
	<ui:param name="sizeTag" value="#{empty size?30:size}" />

	<p:outputLabel value="#{labelTag}:" for="#{idTag}" rendered="#{renderedTag}" style="float:right;" />
	<p:inputText value="#{valueTag}" size="#{sizeTag}" id="#{idTag}" maxlength="255" required="#{requiredTag}" rendered="#{renderedTag}" validatorMessage="#{validatorMessageTag}">

		<ui:insert />
	</p:inputText>
	<p:message for="#{idTag}" rendered="#{renderedTag}" display="icon" />
</ui:composition>
</html>